package com.ssn.decorator.encryption;

public class Decorator implements BasicEncryption{
    private BasicEncryption basicEncryption;
    Decorator(BasicEncryption basicEncryption){
        this.basicEncryption = basicEncryption;
    }
    @Override
    public void encrypt() {
        basicEncryption.encrypt();
    }
}
